package com.example.common;

/**
 * @Description
 * @Date 2021/9/9
 * @Created by Jonathan
 */
public enum Gender {
    MAN("男", 1),
    WOMAN("女", 2);

    private String gender;
    private Integer num;

    Gender(String gender, Integer num) {
        this.gender = gender;
        this.num = num;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
